package com.seashop.feign;

import com.seashop.response.ResponseBase;
import com.seashop.request.MemberRequestParam;
import com.seashop.request.UserReviewRequestParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author moredln
 * @desc
 * @date 2020-08-08 00:19
 */
@FeignClient(value = "user")
public interface MemberFeignClient {

    @GetMapping("/member/listUserPage")
    ResponseBase listUserPage(@RequestParam MemberRequestParam param);

    @GetMapping("/member/listUserReviewPage")
    ResponseBase listUserReviewPage(@RequestParam UserReviewRequestParam param);

}
